﻿@model Gfw.Models.Admin.UsrDepartment
@{
    ViewBag.Title = "添加下级部门";
    Layout = "~/Views/Shared/_LayoutContent.cshtml";
}
@using (Html.BeginForm())
{


    <ul>
        @Html.HiddenFor(model => model.Parentid)


        <li>
            部门名称
        </li>
        <li>
            @Html.EditorFor(model => model.Name)
            @Html.ValidationMessageFor(model => model.Name)
        </li>

        <li>
           描述
        </li>
        <li>
            @Html.EditorFor(model => model.Description)
            @Html.ValidationMessageFor(model => model.Description)
        </li>

        <li>
           序号
        </li>
        <li>
            @Html.EditorFor(model => model.SortIndex)
            @Html.ValidationMessageFor(model => model.SortIndex)
        </li>
       
       
    </ul>

    @Html.ValidationSummary(true)

    <div class="button">
        @Ajax.ActionLink("返回", "Index", new {page = 1}, Gfw.Web.Common.ViewHelper.AjaxGet)
        <input type="submit" value="提交" />
    </div>

}
